lib=libmymath.a
$(lib):mymath.o
	ar -rc $@ $^
mymath.o:mymath.c
	gcc -c $^ 
.PHONY:clean
clean:
	rm -f -r *.o *.a mymath
.PHONY:output
output:
	mkdir -p mymath/include
	mkdir -p mymath/lib
	cp *.h mymath/include
	cp *.a mymath/lib